home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / gnu / glibc108.gz / glibc108 / glibc-1.08.1 / sysdeps / unix / common / configure < prev    next >
Encoding:
Text File  |  1994-05-19  |  2.6 KB  |  103 lines

  1. # This file is generated from configure.in by Autoconf.  DO NOT EDIT!
  2.  
  3.  
  4. if [ ! "$inhibit_glue" ]; then
  5.  
  6.  
  7. # Find out what this system calls `sys_siglist'.
  8. for ac_func in sys_siglist _sys_siglist
  9. do
  10. ac_tr_func=HAVE_`echo $ac_func | tr '[a-z]' '[A-Z]'`
  11. echo "checking for ${ac_func}" 1>&4
  12. if eval "test \"`echo '${'ac_cv_func_${ac_func}'+set}'`\" = set"; then
  13.   echo "    using cached value for ac_cv_func_${ac_func}" 1>&5
  14. else
  15.   cat > conftest.${ac_ext} <<EOF
  16. #include "confdefs.h"
  17. #include <ctype.h>
  18. int main() { return 0; }
  19. int t() { 
  20. /* The GNU C library defines this for functions which it implements
  21.     to always fail with ENOSYS.  Some functions are actually named
  22.     something starting with __ and the normal name is an alias.  */
  23. #if defined (__stub_${ac_func}) || defined (__stub___${ac_func})
  24. choke me
  25. #else
  26. /* Override any gcc2 internal prototype to avoid an error.  */
  27. extern char ${ac_func}(); ${ac_func}();
  28. #endif
  29. ; return 0; }
  30. EOF
  31. if eval $ac_compile; then
  32.   rm -rf conftest*
  33.   eval "ac_cv_func_${ac_func}=yes"
  34. else
  35.   rm -rf conftest*
  36.   eval "ac_cv_func_${ac_func}=no"
  37. fi
  38. rm -f conftest*
  39.  
  40. fi
  41. if eval "test \"`echo '$ac_cv_func_'${ac_func}`\" = yes"; then
  42.   
  43. {
  44. test "$verbose" = yes && \
  45. echo "    defining ${ac_tr_func}"
  46. echo "#define" ${ac_tr_func} "1" >> confdefs.h
  47. DEFS="$DEFS -D${ac_tr_func}=1"
  48. }
  49.  
  50. fi
  51. done
  52.  
  53.  
  54. # Find out the name of the table the system's <ctype.h> uses for character
  55. # classification.  This is used by sysdeps/unix/common/glue-ctype.c.
  56. for ac_func in _ctype_ __ctype_ __ctype _ctype__ _ctype _locp
  57. do
  58. ac_tr_func=HAVE_`echo $ac_func | tr '[a-z]' '[A-Z]'`
  59. echo "checking for ${ac_func}" 1>&4
  60. if eval "test \"`echo '${'ac_cv_func_${ac_func}'+set}'`\" = set"; then
  61.   echo "    using cached value for ac_cv_func_${ac_func}" 1>&5
  62. else
  63.   cat > conftest.${ac_ext} <<EOF
  64. #include "confdefs.h"
  65. #include <ctype.h>
  66. int main() { return 0; }
  67. int t() { 
  68. /* The GNU C library defines this for functions which it implements
  69.     to always fail with ENOSYS.  Some functions are actually named
  70.     something starting with __ and the normal name is an alias.  */
  71. #if defined (__stub_${ac_func}) || defined (__stub___${ac_func})
  72. choke me
  73. #else
  74. /* Override any gcc2 internal prototype to avoid an error.  */
  75. extern char ${ac_func}(); ${ac_func}();
  76. #endif
  77. ; return 0; }
  78. EOF
  79. if eval $ac_compile; then
  80.   rm -rf conftest*
  81.   eval "ac_cv_func_${ac_func}=yes"
  82. else
  83.   rm -rf conftest*
  84.   eval "ac_cv_func_${ac_func}=no"
  85. fi
  86. rm -f conftest*
  87.  
  88. fi
  89. if eval "test \"`echo '$ac_cv_func_'${ac_func}`\" = yes"; then
  90.   
  91. {
  92. test "$verbose" = yes && \
  93. echo "    defining ${ac_tr_func}"
  94. echo "#define" ${ac_tr_func} "1" >> confdefs.h
  95. DEFS="$DEFS -D${ac_tr_func}=1"
  96. }
  97.  
  98. fi
  99. done
  100.  
  101.  
  102. fi
  103.